//
//  TestComponentSystem.cpp
//  Nano
//
//  Created by Jeppe Nielsen on 9/4/13.
//  Copyright (c) 2013 Jeppe Nielsen. All rights reserved.
//

#include "GameWorld.hpp"
#include "Transform.hpp"

using namespace Nano;

class Velocity : public GameSystem {
public:
    void Initialize() {
        AddComponent<Transform>();
    }
    
    void ObjectAdded(GameObject* object) {
        
    }
    
    void ObjectRemoved(GameObject* object) {
        
    }
    
};



int main_no() {
    
    GameWorld world;
    
    world.CreateSystem<Velocity>();
    GameObject* g = world.CreateObject();
    g->AddComponent<Transform>();
    
    g->EnableComponent<Transform>(true);
    g->EnableComponent<Transform>(false);
      
    world.Update(0.01);
    
    
    {
        
    }
    
    return 0;
}
